package vn.orderonline.com.core.business.dto;

public class RestResponseDto implements java.io.Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int returnCode;
	private Object data;
	
	public RestResponseDto() {
		
	}
	
	public RestResponseDto(int returnCode) {
		this.returnCode = returnCode;
	}
	
	public RestResponseDto(int returnCode, Object data) {
		this.returnCode = returnCode;
		this.data = data;
	}

	public int getReturnCode() {
		return returnCode;
	}

	public void setReturnCode(int returnCode) {
		this.returnCode = returnCode;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

}
